From 7702c6a5122771023ae984cae0792bf7e1782193 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 30 Jun 2013 22:30:15 -0400 Subject: [PATCH] Add GtkHeaderBar to the a11y tests --- testsuite/a11y/Makefile.am | 1 + testsuite/a11y/headerbar.txt | 49 ++++++++++++++++++++++++++++++++++++ testsuite/a11y/headerbar.ui | 33 ++++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 testsuite/a11y/headerbar.txt create mode 100644 testsuite/a11y/headerbar.ui diff --git a/testsuite/a11y/Makefile.am b/testsuite/a11y/Makefile.am index ad0990c6fc..84a14d2953 100644 --- a/testsuite/a11y/Makefile.am +++ b/testsuite/a11y/Makefile.am @@ -75,6 +75,7 @@ testdata = \ combos.ui combos.txt \ listbox.ui listbox.txt \ stack.ui stack.txt \ + headerbar.ui headerbar.txt \ $(NULL) test_in_files = \ diff --git a/testsuite/a11y/headerbar.txt b/testsuite/a11y/headerbar.txt new file mode 100644 index 0000000000..f616839f75 --- /dev/null +++ b/testsuite/a11y/headerbar.txt @@ -0,0 +1,49 @@ +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gtk + + layer: window + alpha: 1 + headerbar1 + "filler" + parent: window1 + index: 0 + state: enabled sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + button1 + "push button" + parent: headerbar1 + index: 0 + name: Yes + state: enabled focusable sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 description: Clicks the button + page2 + "push button" + parent: headerbar1 + index: 1 + name: No + state: enabled focusable sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 description: Clicks the button diff --git a/testsuite/a11y/headerbar.ui b/testsuite/a11y/headerbar.ui new file mode 100644 index 0000000000..01216abd83 --- /dev/null +++ b/testsuite/a11y/headerbar.ui @@ -0,0 +1,33 @@ + + + + + False + popup + + + True + Title + Subtitle + + + Yes + True + + + start + + + + + No + True + + + end + + + + + + -- 2.30.2